package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 付费列表对象 fufei
 * 
 * @author ruoyi
 * @date 2024-10-30
 */
public class Fufei extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Integer fid;

    /** 交易类型 */
    @Excel(name = "交易类型")
    private String ftype;

    /** 交易金额 */
    @Excel(name = "交易金额")
    private BigDecimal price;

    /** 交易状态 */
    @Excel(name = "交易状态")
    private Integer status;

    /** 购买人 */
    @Excel(name = "购买人")
    private String ren;

    /** 手机号 */
    @Excel(name = "手机号")
    private String ipone;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 外键 */
    @Excel(name = "外键")
    private Integer lid;

    public void setFid(Integer fid) 
    {
        this.fid = fid;
    }

    public Integer getFid() 
    {
        return fid;
    }
    public void setFtype(String ftype) 
    {
        this.ftype = ftype;
    }

    public String getFtype() 
    {
        return ftype;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setRen(String ren) 
    {
        this.ren = ren;
    }

    public String getRen() 
    {
        return ren;
    }
    public void setIpone(String ipone) 
    {
        this.ipone = ipone;
    }

    public String getIpone() 
    {
        return ipone;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setLid(Integer lid) 
    {
        this.lid = lid;
    }

    public Integer getLid() 
    {
        return lid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fid", getFid())
            .append("ftype", getFtype())
            .append("price", getPrice())
            .append("status", getStatus())
            .append("ren", getRen())
            .append("ipone", getIpone())
            .append("time", getTime())
            .append("lid", getLid())
            .toString();
    }
}
